home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_m / mercven2.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-01-31  |  1KB  |  60 lines

  1. echo off
  2. cls
  3.  
  4. if not %1. == . goto NewDir
  5. type install.hlp
  6. pause
  7. if %1. == . goto default
  8.  
  9. :NewDir
  10. echo About to create Directory %1
  11. echo.
  12. echo Press Ctrl-Break to stop or
  13. pause
  14. md %1
  15. echo Copying Programme files
  16. ren config.mov config.tmp
  17. ren config.bak config.mov
  18. copy *.* %1
  19. ren config.mov config.bak
  20. ren config.tmp config.mov
  21.  
  22. :DiskB
  23. echo.
  24. echo.
  25. echo Please remove Programme disk and insert Data disk
  26. pause
  27. if not exist antonio.chr goto DiskB
  28. echo Copying Data files
  29. copy *.* %1
  30. cls
  31. type %1\winstall.hlp
  32. echo Installation is Finished
  33. echo To start the programme, change to the %1 directory
  34. echo and type AUTOEXEC or MOV
  35. goto End
  36.  
  37. :default
  38. md c:\MOV
  39. echo Copying Programme files....
  40. copy *.* c:\MOV
  41.  
  42. :DiskBB
  43. echo.
  44. echo.
  45. echo Please remove Programme Diskette and Insert Data diskette
  46. pause
  47. if not exist antonio.chr goto DiskBB
  48. echo Copying Data Files
  49. copy *.* c:\MOV
  50. ren c:\MOV\config.MOV config.tmp
  51. ren c:\mov\config.bak config.MOV
  52. ren c:\mov\config.tmp config.bak
  53.  
  54. cls
  55. type C:\MOV\Winstall.hlp
  56. echo Installation is finished.
  57. echo To run the programme, change to the MOV directory and 
  58. echo type MOV or AUTOEXEC
  59. :End
  60.